#ifndef Runner_h
#define Runner_h

#include <Windows.h>


namespace TL {
    class Runner {
    private:
        bool m_Running;
        mutable CRITICAL_SECTION m_LockObject;

    private:
        Runner(const Runner &);
        Runner &operator=(const Runner &);

    public:
        Runner(bool init_run = false);
        ~Runner();

        bool IsRunning() const;
        void Start();
        void Stop();
    };
}

#endif
